import request from '@/utils/request'
export function login(data) {

    return request({
        url: '/config/login?',
        method: 'post',
        params: data
    })
}

export function getInfo(token) {
    return request({
        url: '/config/info',
        method: 'post',
    })
}

export function logout() {
    return request({
        url: '/config/logout',
        method: 'get'
    })
}